<?php
class term_widgetWidget extends Widget {

	public function render(){
        
        //instance model
        $term_model = $this->model('terms');
        
        $term_data = $term_model->findAll(array('term_id', 'term_name'), 'term_id asc');
        
        //display widget
        include $this->view();
	}
}